home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGIALS
/
PTUTOR2B.LZH
/
PRINTOUT.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1988-01-15
|
541b
|
18 lines
(* Chapter 10 - Program 7 *)
program Printout_Example;
uses Printer; (* This is needed for TURBO Pascal 4.0 only *)
var Index : byte;
begin
Writeln(Output,'Printer program example');
Writeln(Output,'Turn on your printer and install paper in it.');
Writeln(Lst,'This is to demonstrate printing in Pascal');
Writeln(Lst);
for Index := 1 to 15 do begin
Write(Lst,'The index value is ');
Write(Lst,Index:3);
Writeln(Lst,' at this point');
end;
end.